<%@ include file="/common/taglibs.jsp"%>
<%@ page language="java" pageEncoding="utf8"%>
<div class="spage-sidebar-wrap">
	<div id="single-page-sidebar">
		<div class="spage-side-nav">
			<ul id='part_func_nav'>
				<li   id="gd_goods_li"
				<c:if test="${not empty goods.goodsId }">	onclick='location.href="gd_goods_edit.html?goodsId=${goods.goodsId}"'  </c:if> 
				<c:if test="${ empty goods.goodsId }">	onclick='location.href="gd_goods_add.html '  </c:if>   
				class="l-handle all ">
					<span>商品总览</span>
				</li>
				<c:if test="${not empty goods.goodsId and goods.specFlag}">
				<li class="l-handle" id="gd_product_li"
					<c:if test="${not empty goods.goodsId }">	onclick='location.href="gd_products_add.html?goodsId=${goods.goodsId}"'  </c:if> 
					<c:if test="${ empty goods.goodsId }">	onclick='alert("请先添加商品")'  </c:if>   
				>
					<span  >货品</span>
				</li>
				</c:if>
				<li class="l-handle"  id="gd_adjunct_li"
					<c:if test="${not empty goods.goodsId }">	onclick='location.href="gd_adjunct_add.html?goodsId=${goods.goodsId}"'  </c:if> 
					<c:if test="${ empty goods.goodsId }">	onclick='alert("请先添加商品")'  </c:if>  
				>
					<span>配件</span>
				</li>				
				<li  id="gd_rate_li"
				<c:if test="${not empty goods.goodsId }">	onclick='location.href="gd_rate_add.html?goodsId=${goods.goodsId}"'  </c:if> 
					<c:if test="${ empty goods.goodsId }">	onclick='alert("请先添加商品")'  </c:if>  
				class="l-handle">
					<span >相关商品</span>
				</li> 
				<li class="l-handle" id="gd_image_li"
					<c:if test="${not empty goods.goodsId }">	onclick='location.href="gd_image_add.html?goodsId=${goods.goodsId}"'  </c:if> 
					<c:if test="${ empty goods.goodsId }">	onclick='alert("请先添加商品")'  </c:if>  
				>
					<span>商品图片</span>
				</li>
			</ul>
		</div>

	</div>
</div>